<?php
/*********************** Easy-D ****************************
 @ 文件名称：api.php
 @ 文件名称：接口配置文件                
 @ 文件作用：用户声明接口信息，声明后可进行接口相应的实现开发
 @ 维护人员：weixuan                                      
 ***********************************************************/

return array(
    	//更新新闻分类
	'/news/updateCategory' => array(
        'method' => 'POST',
		'autoTable' => 'news_category',
		'autoType'  => 'U',
		
		'postMustParams' => array(
			'update_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//删除新闻分类
	'/news/deleteCategory' => array(
        'method' => 'POST',
		'autoTable' => 'news_category',
		'autoType'  => 'D',
		
		'postMustParams' => array(
			'delete_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//查询新闻分类
	'/news/searchCategory' => array(
        'method' => 'ALL',
		'autoTable' => 'news_category',
		'autoType'  => 'R',
		
    ),
	//新增新闻信息
	'/news/add' => array(
        'method' => 'POST',
		'autoTable' => 'news_info',
		'autoType'  => 'C',
		
		'postMustParams' => array(
			'ni_title | NOEMPTY',
			'ni_content | NOEMPTY',
			'ni_uid | NUMBER',
			'ni_ncid | NUMBER'
		),
		'getMustParams' => array(
			)
    ),
	//更新新闻信息
	'/news/update' => array(
        'method' => 'POST',
		'autoTable' => 'news_info',
		'autoType'  => 'U',
		
		'postMustParams' => array(
			'update_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//删除新闻信息
	'/news/delete' => array(
        'method' => 'POST',
		'autoTable' => 'news_info',
		'autoType'  => 'D',
		
		'postMustParams' => array(
			'delete_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//查询新闻信息
	'/news/search' => array(
        'method' => 'ALL',
		'autoTable' => 'news_info',
		'autoType'  => 'R',
		
    ),
	//新增新闻分类
	'/news/addCategory' => array(
        'method' => 'POST',
		'autoTable' => 'news_category',
		'autoType'  => 'C',
		
		'postMustParams' => array(
			'nc_name | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//查询新闻信息（带发布人，分类相关信息）
	'/news/searchDetail' => array(
        'method' => 'ALL',
		'autoTable' => 'news_v_user_category_info',
		'autoType'  => 'R',
		
    ),
	//更新组织架构扩展信息
	'/art_organization_structure_extension_info/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_organization_structure_extension_info',
		'autoType'  => 'U',
		
		'postMustParams' => array(
			'update_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//新增组织架构扩展信息
	'/art_organization_structure_extension_info/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_organization_structure_extension_info',
		'autoType'  => 'C',
		
    ),
	//获取组织结构+扩展信息
	'/art_v_organization_structure_extension_info/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_v_organization_structure_extension_info',
		'autoType'  => 'R',
		
    ),
	//获取省市区信息
	'/common/location' => array(
        'method' => 'ALL',
		'autoTable' => 'art_location',
		'autoType'  => 'R',
		
    ),
	//查询合作商提成配置
	'/art_commission_config/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_commission_config',
		'autoType'  => 'R',
		
    ),
	//更新合作商提成配置
	'/art_commission_config/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_commission_config',
		'autoType'  => 'U',
		
		'postMustParams' => array(
			'update_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//新增销售奖励规则
	'/art_sales_bonus_config/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_bonus_config',
		'autoType'  => 'C',
		
    ),
	//查询销售奖励规则
	'/art_sales_bonus_config/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_sales_bonus_config',
		'autoType'  => 'R',
		
    ),
	//查询结算记录
	'/settlementRecord/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_settlement_record',
		'autoType'  => 'R',
		
    ),
	//查询分成利润信息
	'/profitSharingRecord/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_profit_sharing_record',
		'autoType'  => 'R',
		
    ),
	//媒体传播新增
	'/art_media_communication/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_media_communication',
		'autoType'  => 'C',
		
    ),
	//媒体传播删除
	'/art_media_communication/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_media_communication',
		'autoType'  => 'D',
		
    ),
	//媒体传播查询
	'/art_media_communication/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_media_communication',
		'autoType'  => 'R',
		
    ),
	//更新媒体传播
	'/art_media_communication/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_media_communication',
		'autoType'  => 'U',
		
    ),
	//客户服务新增
	'/art_customer_service/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer_service',
		'autoType'  => 'C',
		
    ),
	//客户服务删除
	'/art_customer_service/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer_service',
		'autoType'  => 'D',
		
    ),
	//客户服务查询
	'/art_customer_service/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_customer_service',
		'autoType'  => 'R',
		
    ),
	//客户服务更新
	'/art_customer_service/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer_service',
		'autoType'  => 'U',
		
    ),
	//客户新增
	'/art_customer/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer',
		'autoType'  => 'C',
		
    ),
	//客户删除
	'/art_customer/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer',
		'autoType'  => 'D',
		
    ),
	//客户查询
	'/art_customer/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_customer',
		'autoType'  => 'R',
		
    ),
	//客户更新
	'/art_customer/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer',
		'autoType'  => 'U',
		
    ),
	//合作商提成配置新增
	'/art_commission_config/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_commission_config',
		'autoType'  => 'C',
		
    ),
	//客户跟进记录新增
	'/art_customer_follow_record/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer_follow_record',
		'autoType'  => 'C',
		
    ),
	//客户跟进记录删除
	'/art_customer_follow_record/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer_follow_record',
		'autoType'  => 'D',
		
    ),
	//客户跟进记录查询
	'/art_customer_follow_record/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_customer_follow_record',
		'autoType'  => 'R',
		
    ),
	//客户跟进记录更新
	'/art_customer_follow_record/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer_follow_record',
		'autoType'  => 'U',
		
    ),
	//意向客户与机构ID关联新增
	'/art_customer_organization_middle/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer_organization_middle',
		'autoType'  => '',
		
    ),
	//意向客户与机构ID关联删除
	'/art_customer_organization_middle/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer_organization_middle',
		'autoType'  => 'D',
		
    ),
	//意向客户与机构ID关联查询
	'/art_customer_organization_middle/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_customer_organization_middle',
		'autoType'  => 'R',
		
    ),
	//意向客户与机构ID关联更新
	'/art_customer_organization_middle/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_customer_organization_middle',
		'autoType'  => 'U',
		
    ),
	//新增分成利润信息
	'/profitSharingRecord/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_profit_sharing_record',
		'autoType'  => 'C',
		
    ),
	//删除分成利润信息
	'/profitSharingRecord/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_profit_sharing_record',
		'autoType'  => 'D',
		
    ),
	//更新分成利润信息
	'/profitSharingRecord/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_profit_sharing_record',
		'autoType'  => 'U',
		
    ),
	//删除销售奖励规则
	'/art_sales_bonus_config/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_bonus_config',
		'autoType'  => 'D',
		
    ),
	//更新销售奖励规则
	'/art_sales_bonus_config/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_bonus_config',
		'autoType'  => 'U',
		
    ),
	//奖励规则发放记录新增
	'/art_sales_bonus_issue_record/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_bonus_issue_record',
		'autoType'  => 'C',
		
    ),
	//奖励规则发放记录删除
	'/art_sales_bonus_issue_record/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_bonus_issue_record',
		'autoType'  => 'D',
		
    ),
	//奖励规则发放记录查询
	'/art_sales_bonus_issue_record/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_sales_bonus_issue_record',
		'autoType'  => 'R',
		
    ),
	//奖励规则发放记录更新
	'/art_sales_bonus_issue_record/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_bonus_issue_record',
		'autoType'  => 'U',
		
    ),
	//结算记录新增
	'/art_settlement_record/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_settlement_record',
		'autoType'  => 'C',
		
    ),
	//结算记录删除
	'/art_settlement_record/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_settlement_record',
		'autoType'  => 'D',
		
    ),
	//结算记录查询
	'/art_settlement_record/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_settlement_record',
		'autoType'  => 'R',
		
    ),
	//结算记录更新
	'/art_settlement_record/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_settlement_record',
		'autoType'  => 'U',
		
    ),
	//战略合作保级规则配置新增
	'/art_strategic_cooperation_grading_rules_config/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_strategic_cooperation_grading_rules_config',
		'autoType'  => 'C',
		
    ),
	//战略合作保级规则配置删除
	'/art_strategic_cooperation_grading_rules_config/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_strategic_cooperation_grading_rules_config',
		'autoType'  => 'D',
		
    ),
	//战略合作保级规则配置查询
	'/art_strategic_cooperation_grading_rules_config/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_strategic_cooperation_grading_rules_config',
		'autoType'  => 'R',
		
    ),
	//战略合作保级规则配置更新
	'/art_strategic_cooperation_grading_rules_config/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_strategic_cooperation_grading_rules_config',
		'autoType'  => 'U',
		
    ),
	//战略合作规则设置新增
	'/art_strategic_cooperation_rules_config/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_strategic_cooperation_rules_config',
		'autoType'  => 'C',
		
    ),
	//战略合作规则设置删除
	'/art_strategic_cooperation_rules_config/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_strategic_cooperation_rules_config',
		'autoType'  => 'D',
		
    ),
	//战略合作规则设置查询
	'/art_strategic_cooperation_rules_config/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_strategic_cooperation_rules_config',
		'autoType'  => 'R',
		
    ),
	//战略合作规则设置更新
	'/art_strategic_cooperation_rules_config/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_strategic_cooperation_rules_config',
		'autoType'  => 'U',
		
    ),
	//销售客户关联新增
	'/art_user_customer_middle/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_user_customer_middle',
		'autoType'  => 'C',
		
    ),
	//销售客户关联删除
	'/art_user_customer_middle/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_user_customer_middle',
		'autoType'  => 'D',
		
    ),
	//销售客户关联查询
	'/art_user_customer_middle/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_user_customer_middle',
		'autoType'  => 'R',
		
    ),
	//销售客户关联更新
	'/art_user_customer_middle/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_user_customer_middle',
		'autoType'  => 'U',
		
    ),
	//销售问题新增
	'/art_sales_question/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_question',
		'autoType'  => 'C',
		
    ),
	//销售问题删除
	'/art_sales_question/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_question',
		'autoType'  => 'D',
		
    ),
	//销售问题查询
	'/art_sales_question/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_sales_question',
		'autoType'  => 'R',
		
    ),
	//销售问题更新
	'/art_sales_question/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_question',
		'autoType'  => 'U',
		
    ),
	//知识库新增
	'/art_sales_knowledge/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_knowledge',
		'autoType'  => 'C',
		
    ),
	//知识库删除
	'/art_sales_knowledge/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_knowledge',
		'autoType'  => 'D',
		
    ),
	//知识库查询
	'/art_sales_knowledge/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_sales_knowledge',
		'autoType'  => 'R',
		
    ),
	//知识库更新
	'/art_sales_knowledge/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_sales_knowledge',
		'autoType'  => 'U',
		
    ),
	//艺术类别新增
	'/art_category/add' => array(
        'method' => 'POST',
		'autoTable' => 'art_category',
		'autoType'  => 'C',
		
    ),
	//艺术类别删除
	'/art_category/delete' => array(
        'method' => 'POST',
		'autoTable' => 'art_category',
		'autoType'  => 'D',
		
    ),
	//艺术类别查询
	'/art_category/search' => array(
        'method' => 'ALL',
		'autoTable' => 'art_category',
		'autoType'  => 'R',
		
    ),
	//艺术类别更新
	'/art_category/update' => array(
        'method' => 'POST',
		'autoTable' => 'art_category',
		'autoType'  => 'U',
		
    ),
	//客户跟进信息查询带跟进者昵称
	'/system_v_follow_record_user/search' => array(
        'method' => 'ALL',
		'autoTable' => 'system_v_follow_record_user',
		'autoType'  => 'R',
		
    ),

);